﻿<Window x:Class="MOJ.StyleInspector"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="StyleInspector" Height="471" Width="715">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="3*"/>
        </Grid.ColumnDefinitions>
        <ListView Margin="10,10,10,67" x:Name="_listView" Grid.Column="1">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="["/>
                        <TextBlock Text="{Binding Index}"/>
                        <TextBlock Text="] "/>
                        <TextBlock Text="{Binding ElementType.FullName}" Foreground="Blue"/>
                        <TextBlock Text=" : {"/>
                        <TextBlock Text="{Binding ElementID}" Foreground="Red"/>
                        <TextBlock Text="}"/>
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
        <Label Grid.Column="1" x:Name="Element_Type__" Content="Element Type: " HorizontalAlignment="Left" Margin="10,0,0,10" 
               HorizontalContentAlignment="Right" VerticalAlignment="Bottom" Width="91"/>
        <Label Grid.Column="1" x:Name="Element_Type___Copy" Content="Style Called: " HorizontalAlignment="Left" Margin="10,0,0,36" 
               HorizontalContentAlignment="Right" VerticalAlignment="Bottom" Width="91"/>
        <TextBox IsReadOnly="True" Grid.Column="1" x:Name="_txt_Style" Height="23" Margin="106,0,10,36" TextWrapping="Wrap" VerticalAlignment="Bottom"/>
        <TextBox Grid.Column="1" x:Name="_txt_Element" Height="23" Margin="106,0,10,8" TextWrapping="Wrap" VerticalAlignment="Bottom" IsReadOnly="True"/>
        <ListBox x:Name="_listBox" Height="160" VerticalAlignment="Top" Margin="10,36,0,0"/>
        <TextBlock Margin="10,10,10,0" TextWrapping="Wrap" Text="Parent Family" VerticalAlignment="Top" Height="21" TextAlignment="Center"/>
        <TextBlock Margin="10,210,10,0" TextWrapping="Wrap" Text="Content String" VerticalAlignment="Top" Height="21" TextAlignment="Center"/>
        <TextBox x:Name="_txtcontent" Height="23" Margin="10,231,0,0" TextWrapping="Wrap" VerticalAlignment="Top" TextAlignment="Center" IsReadOnly="True"/>
    </Grid>
</Window>
